<?php

// @formatter:off
// phpcs:ignoreFile
/**
 * A helper file for your Eloquent Models
 * Copy the phpDocs from this file to the correct Model,
 * And remove them from this file, to prevent double declarations.
 *
 * @author Barry vd. Heuvel <barryvdh@gmail.com>
 */


namespace App\Models{
/**
 * App\Models\Company
 *
 * @property int $id
 * @property string $name 企业名称
 * @property string|null $name_en 企业名称（英文）
 * @property string $uscc 统一社会信用代码
 * @property string $legal_name 法人代表
 * @property string|null $contact 联系人
 * @property string|null $phone 联系电话
 * @property string|null $tel 企业电话
 * @property string|null $fax 企业传真
 * @property int|null $people 企业总人数
 * @property string|null $reg_cash 注册资金（万元）
 * @property int|null $reg_currency 注册币种
 * @property int|null $organization_code 组织性质代码
 * @property int|null $region_id 企业地区ID
 * @property string|null $region_name 企业地区
 * @property string|null $address 详细地址
 * @property string|null $address_en 详细地址（英文）
 * @property int|null $invoice_type 发票类型
 * @property \Illuminate\Support\Carbon $create_time
 * @property \Illuminate\Support\Carbon $modify_time
 * @property string|null $delete_time
 * @property-read \App\Models\CompanyCertification|null $companyCertification
 * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\CompanyPlace> $companyPlaces
 * @property-read int|null $company_places_count
 * @method static \Illuminate\Database\Eloquent\Builder|Company newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Company newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Company query()
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereAddressEn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereContact($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereCreateTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereDeleteTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereFax($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereInvoiceType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereLegalName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereModifyTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereNameEn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereOrganizationCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company wherePeople($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereRegCash($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereRegCurrency($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereRegionId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereRegionName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereTel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Company whereUscc($value)
 */
	class Company extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\CompanyCertification
 *
 * @property int $id
 * @property int $company_id
 * @property string $name 认证名称
 * @property string $agreement_code 合同编号
 * @property int $agreement_origin 合同来源
 * @property-read \App\Models\CompanyCertificationDetail|null $companyCertificationDetails
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertification newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertification newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertification query()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertification whereAgreementCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertification whereAgreementOrigin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertification whereCompanyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertification whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertification whereName($value)
 */
	class CompanyCertification extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\CompanyCertificationDetail
 *
 * @property int $id
 * @property int $company_id
 * @property int $company_certification_id
 * @property int $certification_code 体系ID
 * @property string $certification_name 体系名称
 * @property int $certification_people 体系人数
 * @property int $company_certification_type 审核类型
 * @property string|null $company_certification_range 审核范围
 * @property \Illuminate\Support\Carbon $create_time
 * @property \Illuminate\Support\Carbon $modify_time
 * @property string|null $delete_time
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail query()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereCertificationCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereCertificationName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereCertificationPeople($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereCompanyCertificationId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereCompanyCertificationRange($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereCompanyCertificationType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereCompanyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereCreateTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereDeleteTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyCertificationDetail whereModifyTime($value)
 */
	class CompanyCertificationDetail extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\CompanyPlace
 *
 * @property int $id
 * @property int $company_id
 * @property string $name 场所名称
 * @property int $type 类型：固定 0、临时 1
 * @property string|null $address 场所地址
 * @property string $certification_range 认证范围
 * @property string $title 产品-活动-过程
 * @property string $progross 实施情况
 * @property int $people_number 人数
 * @property \Illuminate\Support\Carbon $create_time
 * @property \Illuminate\Support\Carbon $modify_time
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace query()
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereCertificationRange($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereCompanyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereCreateTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereModifyTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace wherePeopleNumber($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereProgross($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CompanyPlace whereType($value)
 */
	class CompanyPlace extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\Region
 *
 * @property int $id 区划信息id
 * @property int|null $parent_id 父级挂接id
 * @property string|null $code 区划编码
 * @property string|null $name 区划名称
 * @property int|null $status 状态 0 正常 -2 删除 -1 停用
 * @property int|null $level 级次id 0:省/自治区/直辖市 1:市级 2:县级
 * @property-read \Illuminate\Database\Eloquent\Collection<int, Region> $children
 * @property-read int|null $children_count
 * @method static \Illuminate\Database\Eloquent\Builder|Region newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Region newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Region query()
 * @method static \Illuminate\Database\Eloquent\Builder|Region whereCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Region whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Region whereLevel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Region whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Region whereParentId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Region whereStatus($value)
 */
	class Region extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\User
 *
 * @property int $id
 * @property string $username
 * @property string|null $nickname
 * @property string $password
 * @property string $mobile
 * @property string|null $token
 * @property int $state
 * @property \Illuminate\Support\Carbon $create_time
 * @property \Illuminate\Support\Carbon $modify_time
 * @property string|null $delete_time
 * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\UserGroup> $groups
 * @property-read int|null $groups_count
 * @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|User newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|User query()
 * @method static \Illuminate\Database\Eloquent\Builder|User whereCreateTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User whereDeleteTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User whereMobile($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User whereModifyTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User whereNickname($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User wherePassword($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User whereToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|User whereUsername($value)
 */
	class User extends \Eloquent {}
}

namespace App\Models{
/**
 * App\Models\UserGroup
 *
 * @property int $id
 * @property string $name 组名
 * @property string $flag 标识
 * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\User> $users
 * @property-read int|null $users_count
 * @method static \Illuminate\Database\Eloquent\Builder|UserGroup newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserGroup newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserGroup query()
 * @method static \Illuminate\Database\Eloquent\Builder|UserGroup whereFlag($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserGroup whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserGroup whereName($value)
 */
	class UserGroup extends \Eloquent {}
}

